package cn.ejopenai.domain;

//  {"model": "gpt-3.5-turbo","messages": [{ "role": "user", "content": "who are you" }],}
/**
 * author ： willie
 * 会话消息封装
 */
public class MessageObject {
    private String role;            // 用户标识 "system"、"user" 或 "assistant"
    private String content;         // 会话内容

    public MessageObject() {
    }

    public MessageObject(String role, String content) {
        this.role = role;
        this.content = content;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
